.words-item {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
  box-sizing: border-box;
  cursor: move;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 40px;
  padding: 20px 12px 20px 8px;
  position: relative;
  transition: background-color 0.3s ease-out;
  &:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
  }
  &:hover {
    background-color: #fafafa;
  }
}

.words-item:global(.highlight) {
  @bg: #fff1f0;
  @border: #ffa39e;

  background-color: @bg;
  &:global(.above) {
    border-bottom: 1px solid @bg;
    border-top: 1px solid @border;
  }
  &:global(.below) {
    border-bottom: 1px solid @border;
    border-top: 1px solid @bg;
  }
}
.words-item:global(.dragging) {
  background-color: #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
}

.actions {
  align-items: center;
  background-color: #fafafa;
  bottom: 0;
  box-shadow: -10px 10px 10px #fafafa;
  display: none;
  height: 40px;
  padding-left: 20px;
  padding-right: 6px;
  position: absolute;
  right: 0;
  top: 10px;
  :global(.anticon) {
    cursor: pointer;
    font-size: 20px;
    padding: 6px;
  }
}
.words-item:hover .actions {
  display: flex;
}
.direct-send {
  color: #aaa;
}
.send {
  color: #52c41a;
}
.edit {
  color: #faad14;
}
.remove {
  color: #cf1322;
}

.word:not(:first-child) {
  margin-top: 16px;
}
